<!DOCTYPE html>
<html lang="zh-cn">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.css">
</head>
<body>
<div class="container" style="margin-top: 10%;">
	<div class="row">
		<div class="col-sm-12">
			
				<form action="{:U('Backstage/addregionover')}" method="post">

					<div class="form-group">
				        <label class="control-label">所属省份：</label>
						<select class="form-control" >
							<foreach name="shenglist" item="shenglist">
				 			  <option value="{$shenglist.pro_id}">{$shenglist.pro_name}</option>
				 			</foreach>
				 			<option value="0">添加其他</option>
						</select>
				    </div>

				    <div class="form-group">
				        <label class="control-label">区号：</label>
				        <input type="text" name="art_title" id="txtHint" class="form-control" placeholder="">				      
				    </div>

				    <div class="form-group">
				        <label class="control-label">市政编号：</label>
				        <input type="text" name="art_title" id="txtHint" class="form-control" placeholder="">				      
				    </div>

					<div class="form-group">
				        <label class="control-label">所属市或国家：</label>
				        <input type="text" name="art_title" id="txtHint" class="form-control" placeholder="">				      
				    </div>


					<input type="submit" value="提交" class="btn btn-primary center-block">
				</form>
		</div>
	</div>
</div>
<script type="text/javascript">
	function showvar(obj){
		alert(obj);
		// var a=document.getElementById("s");
		// var c=a.options[a.selectedIndex].value;
		 var xmlhttp=new XMLHttpRequest();
		xmlhttp.onreadystatechange=function()
		  {
		  if (xmlhttp.readyState==4 && xmlhttp.status==200)
		    {
		    document.getElementById("txtHint").innerHTML=xmlhttp.responseText;
		    }
		  }
		xmlhttp.open("GET","/demo_get.php?x="+obj,true);
		xmlhttp.send();
	}

</script>
</body>
</html>